
{ config, pkgs, ... }:
{
  environment.etc."proxychains.conf".text = "[ProxyList]\nsocks5 127.0.0.1 7890";
  networking.networkmanager.enable = true;  # Easiest to use and most distros use this by default.
  nix.settings.substituters = [ "https://mirrors.ustc.edu.cn/nix-channels/store" ];
  nix.settings.experimental-features = [ "nix-command" "flakes" ];
  nix.settings.trusted-users = [ "root" "isidore" ];
  networking.firewall.enable = false;
  networking.proxy.httpProxy = "http://127.0.0.1:7890";
  networking.proxy.httpsProxy = "http://127.0.0.1:7890";
  networking.proxy.allProxy = "socks5://127.0.0.1:7890";
  programs.clash-verge={
    enable=true;
    tunMode=true;
    autoStart=true;
  };
  environment.systemPackages = with pkgs; [
    proxychains
  ];

}